package com.esp.studentManagementSystem.pojo.po.entity;

import com.esp.studentManagementSystem.pojo.po.entity.ID.RoleMenuId;
import jakarta.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Entity
@Table(name = "sys_role_menu")
@Data
@AllArgsConstructor
@Builder
@NoArgsConstructor
public class SysRoleMenu {

    @EmbeddedId
    private RoleMenuId id; // 使用嵌入式主键

}
